﻿using System;
using System.Collections.Generic;

namespace Model
{
     ///<summary>
     ///实体类RESULT_ABS
     ///</summary>
     public class RESULT_ABS
     {
         private int __ID= 0;
         private string __ABSJCCS="" ;
         private string __JCLSH="" ;

         private Dictionary<string, bool> __Changed = new Dictionary<string, bool>();


         public RESULT_ABS()
         {
             this.__Changed.Add("ID",false);
             this.__Changed.Add("ABSJCCS",false);
             this.__Changed.Add("JCLSH",false);
         }

         /// <summary>
         /// 将类重置到初始化状态
         /// </summary>
         public void Reset()
         {
             this.__ID = 0;
             this.__ABSJCCS = "" ;
             this.__JCLSH = "" ;
             this.__Changed["ID"] = false;
             this.__Changed["ABSJCCS"] = false;
             this.__Changed["JCLSH"] = false;
         }

         /// <summary>
         /// 获取类中成员的改变状态
         /// </summary>
         public bool Changed(string strKey)
         {
             return __Changed[strKey];
         }

         /// <summary>
         ///设置或获取类中的[ID]的数据
         /// </summary>
         public int ID
         {
              set{ __ID = value; __Changed["ID"] = true;}
              get{return __ID;}
         }
         /// <summary>
         ///设置或获取类中的[ABSJCCS]的数据
         /// </summary>
         public string ABSJCCS
         {
              set{ __ABSJCCS = value.Replace("'","’"); __Changed["ABSJCCS"] = true;}
              get{return __ABSJCCS;}
         }
         /// <summary>
         ///设置或获取类中的[JCLSH]的数据
         /// </summary>
         public string JCLSH
         {
              set{ __JCLSH = value.Replace("'","’"); __Changed["JCLSH"] = true;}
              get{return __JCLSH;}
         }
    }
}
